package cn.mybatis;

import java.util.List;

import cn.mybatis.school.PageNo;
import cn.mybatis.school.Subject;

public interface SubjectDao {
	public int add(Subject s);

	public List<Subject> findAll();

	public int del(long id);

	public int update(long classhour, long id);

	// 分页查询
	public List<Subject> paging(PageNo p);

}
